package com.lovo.maotai.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@Document(indexName = "static_page_index")
public class StaticPageEntity {
    @Id
    @Field(type = FieldType.Keyword)
    private String pageId;
    @Field(type = FieldType.Keyword)
    private String pageTitle;
    @Field(type = FieldType.Text)
    private String pageInfo;
}
